#!/bin/bash

# Iterate over all files in the current directory
for file in *; do
  # Check if the file is indeed a file (not a directory)
  if [ -f "$file" ]; then
    # Get the uppercase version of the filename
    uppercase_file=$(echo "$file" | tr '[:lower:]' '[:upper:]')
    # Rename the file to its uppercase version
    mv "$file" "$uppercase_file"
  fi
done
